package com.cf.domain.vo;

import com.cf.domain.pojo.Ground;
import com.cf.domain.pojo.Team;
import com.cf.domain.pojo.User;
import com.cf.enums.RaceType;
import lombok.Data;
import org.springframework.boot.autoconfigure.amqp.RabbitConnectionFactoryBeanConfigurer;

/**
 * @Author lzqinga@126.com
 * @Date 2024/11/12  20:14
 */

@Data
public class TeamOrderVO {

    private UserVO user;

    private Team team;

    private Ground ground;

    private Integer sort;

    private Integer type;

    private Integer isScore;

    public String getTypeName(){
        return RaceType.valueOf(this.type).getName();
    }

}
